<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/8/14
  Time: 19:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD><TITLE>云和租房 -发布房屋信息</TITLE>
    <META content="text/html; charset=utf-8" http-equiv=Content-Type>
    <LINK rel=stylesheet type=text/css href="/css/style.css">
    <link rel="stylesheet" type="text/css" href="/css/city.css">
    <script src="/scripts/jQuery-2.2.0.min.js"></script>
    <script src="/scripts/distpicker.data.js"></script>
    <script src="/scripts/distpicker.js"></script>
    <script src="scripts/jquery-1.8.3.js"></script>
    <META name=GENERATOR content="MSHTML 8.00.7601.17514">
</HEAD>
<BODY>
<DIV id=header class=wrap>
    <DIV id=logo><IMG src="../images/logo.gif"></DIV>
</DIV>
<DIV id=regLogin class=wrap>
    <DIV class=dialog>
        <DL class=clearfix>
            <DT>新房屋信息发布</DT>
            <DD class=past>填写房屋信息</DD>
        </DL>
        <DIV class=box>
            <FORM id=add_action method="post" name=add.action
                  action="/house/issueHouseInfo_house" enctype="multipart/form-data">
                <DIV class=infos>
                    <TABLE class=field>
                        <TBODY>
                        <TR>
                            <TD class=field>标　　题：</TD>
                            <TD><INPUT id=add_action_title class=text type=text name="house.title"></TD>
                        </TR>
                        <TR>
                            <TD class=field>户　　型：</TD>
                            <TD><SELECT class=text name="type.tname">
                                <OPTION selected value="无">--户型--</OPTION>
                                <OPTION value="一室一厅">一室一厅</OPTION>
                                <OPTION value="二室一厅">二室一厅</OPTION>
                                <OPTION value="三室一厅">三室一厅</OPTION>
                                <OPTION value="四室二厅">四室二厅</OPTION>
                                <OPTION value="豪华别墅">豪华别墅</OPTION>
                            </SELECT></TD>
                        </TR>
                        <TR>
                            <TD class=field>面　　积：</TD>
                            <TD><INPUT id=add_action_floorage class=text type=text
                                       name="house.area"></TD>
                        </TR>
                        <TR>
                            <TD class=field>价　　格：</TD>
                            <TD><INPUT id=add_action_price class=text type=text name="house.price"></TD>
                        </TR>
                        <TR>
                            <TD class=field>房产证日期：</TD>
                            <TD><INPUT class=text type=text name="house.pubdate"></TD>
                        </TR>
                        <tr>
                            <td class=field>房屋照片:</td>
                            <td>
                                <input type="file" name="upload">
                            </td>
                        </tr>
                        <TR>
                            <TD class=field>位　　置：</TD>
                            <TD>
                                <div data-toggle="distpicker">
                                    <div class="form-group">
                                        <label class="sr-only" for="province1">省份</label>
                                        <select class="form-control" id="province1" name="location.province"></select>
                                    </div>
                                    <div class="form-group">
                                        <label class="sr-only" for="city1">城市</label>
                                        <select class="form-control" id="city1" name="location.city"></select>
                                    </div>
                                    <div class="form-group">
                                        <label class="sr-only" for="district1">区/县</label>
                                        <select class="form-control" id="district1" name="location.district"></select>
                                    </div>
                                </div>
                            </TD>
                        </TR>
                        <TR>
                            <TD class=field>联系方式：</TD>
                            <TD><INPUT id=add_action_contact class=text type=text name="house.phone"></TD>
                        </TR>
                        <TR>
                            <TD class=field>详细信息：</TD>
                            <TD><TEXTAREA name="house.describ"></TEXTAREA></TD>
                        </TR>
                        </TBODY>
                    </TABLE>
                    <DIV class=buttons><INPUT value=立即发布 type="submit"><INPUT value="查看房源" type=button onclick="document.location='/house/house_queryHouse'">
                    </DIV>
                    <div id="result" style="text-align: center">${requestScope.result}</div>
                </DIV>
            </FORM>
        </DIV>
    </DIV>
</DIV>
<DIV id=footer class=wrap>
    <DL>
        <DT>云和租房 © 2010 云和 京ICP证1000001号</DT>
        <DD>关于我们 · 联系方式 · 意见反馈 · 帮助中心</DD>
    </DL>
</DIV>
</BODY>

<script>
    $(function () {
        $("input").click(function () {
            $("#result").hide();
        })
    })
</script>

</HTML>
